<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link href="<s:url value="/css/style.css"/>" rel="stylesheet"
			type="text/css" />
	</head>
	<body>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="9">
					<img src="../img/right/bgl.gif" width="9" height="9" />
				</td>
				<td width="100%" class="bgline1"></td>
				<td width="9">
					<img src="../img/right/bgr.gif" width="9" height="9" />
				</td>
			</tr>
		</table>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td class="box">
					<table width="100%" border="0" cellpadding="0" cellspacing="0"
						class="searchbg">
						<tr>
							<td colspan="3">
								<s:date name="classDate" format="E yy-MM-dd" />
							    Course Time
								<s:property value="classTime" />
							</td>
						</tr>
					</table>
					<table>
						<tr>
							<td>
								Focus:
								<s:property value="classFocus.name" />
							</td>
							<td>
								Topic:
								<s:property value="topic" />
							</td>
							<td>
								teacher:
								<s:property value="teacher.name" />
							</td>
							<td>
								classroom:
								<s:property value="classroom.name" />
							</td>
							<td>
							<input name="goback" type="button" class="btn1"
				                 value="Go Back" onclick="history.go(-1)" />
							</td>
						</tr>
					</table>
					<table id="curLeadsClasses" width="100%" border="0" cellpadding="0"
						cellspacing="1" class="box2">
						<tr>
							<td class="tablecolour1">
								id
							</td>
							<td class="tablecolour1">
								Name
							</td>
							<td class="tablecolour1">
								EliteCards
							</td>
							<td class="tablecolour1">
								Telephone
							</td>
							<td class="tablecolour1">
								Booking Time
							</td>
							<td class="tablecolour1">
								Checkin Time
							</td>
							<td class="tablecolour1">
								Cancel Time
							</td>
							<td class="tablecolour1">
								Status
							</td>
						</tr>
						<s:iterator value="leadsClassEntityList" status="status">
							<tr title="entity">
								<td class="tablecolour2">
								    <s:property value="#status.index+1" />
								</td>
								<td class="tablecolour2">
									<s:property value="leads.name" />
								</td>
								<td class="tablecolour2">
									<s:property value="leads.eliteCard" />
								</td>
								<td class="tablecolour2">
									<s:property value="leads.telephone" />
								</td>
								<td class="tablecolour2">
									<s:date format="yyyy-MM-dd HH:mm:ss"  name="bookingTime" />
								</td>
								<td class="tablecolour2">
									<s:date format="yyyy-MM-dd HH:mm:ss"  name="checkinTime" />
								</td>
								<td class="tablecolour2">
									<s:date format="yyyy-MM-dd HH:mm:ss"  name="cancelTime" />
								</td>
								<td class="tablecolour2">
									<s:property value="status" />
								</td>
							</tr>
						</s:iterator>
					</table>
				</td>
			</tr>
		</table>
		<s:include value="/common/down.jsp"></s:include>
	</body>
</html>
